<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Custom DataGrid Pager - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="../../uimaker/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../uimaker/icon.css">
	<script type="text/javascript" src="../../js/jquery.min.js"></script>
	<script type="text/javascript" src="../../js/jquery.easyui.min.js"></script>
</head>
<body>
	<h2>Custom DataGrid Pager</h2>
	<p>You can append some buttons to the standard datagrid pager bar.</p>
	<div style="margin:20px 0;"></div>
	<table id="dg" title="Custom DataGrid Pager" 
		style="width:1024px;height:600px"
		data-options="rownumbers:true,
		singleSelect:true,
		pagination:true,
		url:'http://localhost:8080/xbjllaz/order/page',
		method:'get'">
		<thead>
			<tr>
				<th data-options="field:'ajOrderId',width:80">订单号</th>
				<th data-options="field:'sellerName',width:100">商家名称</th>
				<th data-options="field:'buyerName',width:80,align:'right'">车主姓名</th>
				<th data-options="field:'buyerMobile',width:80,align:'right'">车主电话</th>
				<th data-options="field:'createTime',width:240">价格</th>
				<th data-options="field:'price',width:240">价格</th>
				<th data-options="field:'stat',width:60,align:'center'">订单状态</th>
				<th data-options="field:'id',width:60,align:'center'">操作</th>
			</tr>
		</thead>
	</table>
	<script type="text/javascript">
		$(function(){
			$('#dg').datagrid();
		})
	</script>
</body>
</html>